package com.eig.common.entity.course;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author ：StudentLsj（李世界）
 * @date ：Created in 2023/01/11 下午 07:58
 * @description：
 * @modified By：
 * @version:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "edu_video")
public class Video implements Serializable {
    private String id;
    @TableField(value = "course_id")
    private String courseId;
    @TableField(value = "chapter_id")
    private String chapterId;
    private String title;
    @TableField(value = "video_source_id")
    private String videoSourceId;
    @TableField(value = "video_original_name")
    private String videoOriginalName;
    private Integer sort;
    @TableField(value = "play_count")
    private Integer playCount;
    @TableField(value = "is_free")
    private boolean isFree;
    private float duration;
    private Integer status;
    private Integer size;
    private Integer version;
    @TableField(value = "gmt_create")
    private LocalDateTime gmtCreate;
    @TableField(value = "gmt_modified")
    private LocalDateTime gmtModified;

}
